package com.example.superoa.model.mappers;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.alibaba.fastjson.JSONArray;
import com.example.superoa.model.pojos.Department;


@Mapper
public interface DepartmentMapper {
		//部门查询
		public List<Department> departmentAll();
		
		//编辑部门
		public Department departmentById(int depart_id);
		
		//添加部门id
		public Department adepartmentId(String depart_name);
		
		/*public JSONArray selectPositive(@Param("systemdate")String systemdate);
		public void updateStaffBypositive(@Param("staff_id")Integer staff_id);*/
}
